<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>设置</title>
    <style>
      body {
        font-family: Arial, sans-serif;
        margin: 20px;
      }
      h1 {
        color: #333;
      }
      .settings-form {
        background-color: #f9f9f9;
        border-radius: 5px;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      }
      .settings-form label {
        display: block;
        margin-bottom: 10px;
        font-weight: bold;
      }
      .settings-form input,
      .settings-form select {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-sizing: border-box;
      }
      .settings-form button {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
      }
      .settings-form button:hover {
        background-color: #0056b3;
      }
    </style>
  </head>
  <body>
    <h1>系统设置</h1>
    <div class="settings-form">
      <form action="/save-settings" method="post">
        <label for="theme">主题选择</label>
        <select id="theme" name="theme">
          <option value="light">浅色</option>
          <option value="dark">深色</option>
        </select>

        <label for="notifications">通知设置</label>
        <input
          type="checkbox"
          id="notifications"
          name="notifications"
          checked
        />
        <label for="notifications">启用通知</label>

        <label for="timezone">时区</label>
        <select id="timezone" name="timezone">
          <option value="utc">UTC</option>
          <option value="est">EST</option>
          <option value="pst">PST</option>
          <!-- 可以添加更多时区选项 -->
        </select>

        <label for="email">账户邮箱</label>
        <input
          type="email"
          id="email"
          name="email"
          placeholder="请输入您的邮箱"
          required
        />

        <button type="submit">保存设置</button>
      </form>
    </div>
  </body>
</html>
